<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sb" uri="/struts-bootstrap-tags"%>
<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><s:text name="global.application.title" /></title>
<link rel='SHORTCUT ICON' href='<s:url value="/img/favicon.ico" />' />
<%-- <sb:head /> --%>

<link rel="stylesheet" href="<s:url value='/css/bootstrap.min.css' />" />
<link rel="stylesheet" href="<s:url value='/css/bootstrap-responsive.min.css' />" />
<link rel="stylesheet" href="<s:url value='/css/style.css' />" />
<link rel="stylesheet" href="<s:url value='/css/bootstrap-switch.css' />" >

<%-- <link rel="stylesheet" href="<s:url value='/css/struts.css' />" />
 --%>
<link rel="stylesheet" href="<s:url value='/css/mplus_webfonts.css' />" />

<script src="<s:url value='/js/jquery-1.9.1.js'/>"></script>
<script src="<s:url value='/js/bootstrap-switch.min.js'/>"></script>
<sj:head jqueryui="true" jquerytheme="south-street"	defaultIndicator="defaultIndicator" />

<script>  
   function confirmDelete() {  
	   return window.confirm("<s:text name='global.delete.record' />");  
   }  
   
   function selectAll() {
   var allInputs = document.getElementsByTagName("input");
   for (var i = 0, max = allInputs.length; i < max; i++){
       if (allInputs[i].type === 'checkbox' && allInputs[i].name=='selectedDays')
           allInputs[i].checked = true;
   }
   }
   function deselectAll() {
	   
	   var allInputs = document.getElementsByTagName("input");
	   for (var i = 0, max = allInputs.length; i < max; i++){
	       if (allInputs[i].type === 'checkbox' && allInputs[i].name=='selectedDays')
	           allInputs[i].checked = false;
	   }
	   }
</script>  
<%-- <script language="JavaScript">
function toggle(source) {
  checkboxes = document.getElementsByName('foo');
  for each(var checkbox in checkboxes)
    checkbox.checked = source.checked;
}
</script> --%>
